/* assets/css/datacenter.css - THEME CONSISTENT */

:root {
  --primary: #012970;
  --accent: #fcb614;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --text: #475569;
  --text-light: #64748b;
}

/* Hero */
.datacenter-hero {
  padding: 140px 0 30px;
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
}

.main-title {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text {
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 450px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.stat-item {
  flex: 1;
  text-align: center;
}
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Common Sections */
.datacenter-definition,
.why-hexaroot,
.services-section,
.applications-section,
.tiers-section {
  padding: 30px 0;
}

.datacenter-definition,
.why-hexaroot,
.tiers-section {
  background: var(--white);
}
.services-section,
.applications-section {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Definition */
.definition-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.definition-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.definition-text p:last-child {
  margin-bottom: 0;
}

.definition-text strong {
  color: var(--primary);
}

/* Why Content */
.why-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.why-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card,
.app-card {
  padding: 32px 24px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover,
.app-card:hover {
  transform: translateX(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon,
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(252, 182, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h4,
.app-card h4 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p,
.app-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Tiers Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tier-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.tier-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

.tier-uptime {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.tier-card p {
  color: var(--text);
  font-size: 15px;
  margin: 0;
}

/* Stats */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0148a3 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-card .stat-number {
  color: white;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
}

/* MOBILE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding: 0px;
  }

  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .datacenter-hero {
    padding: 80px 20px 60px;
  }

  .hero-stats {
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .stat-item {
    flex: 1 !important;
    min-width: 90px !important;
  }

  .stat-number {
    font-size: 22px !important;
  }
  .stat-label {
    font-size: 12px !important;
  }
  .main-title {
    font-size: 26px;
  }

  .services-grid,
  .applications-grid,
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}
